LinqConnect Documentation
Devart.Data.Linq Namespace / DataContext Class / Translate Method / Translate<TResult>(DbDataReader) Method
The IDataReader to be converted.

Translate<TResult>(DbDataReader) Method
Converts an existing DbDataReader to objects.
Syntax
'Declaration
 
Public Overloads Function Translate(Of TResult)( _
   ByVal reader As DbDataReader _
) As IEnumerable(Of TResult)
 

Parameters

reader
The IDataReader to be converted.

Type Parameters

TResult

Return Value

A list of objects returned by the conversion.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also